#!/usr/bin/env python3
# _*_coding:utf-8_*_

from rpc.jsonrpcserver import CommonJsonrpcServer




class PluginServer():
    def echo(self, parm):
        return parm



if __name__ == "__main__":
    s = CommonJsonrpcServer()
    t = PluginServer()
    s.regist(t)
    s.start(port = 4004, ssl_context=('rpc/ssl.cert.pem', 'rpc/ssl.key.pem'))

